tldr I scaled the dog up until the size corresponded to the bytes "/*", removed all instances of bytes with "*", "/" or "\", and added the rest of the js at the bottom.
Had to censor the whole f*king dog for some reason because I COULD NOT FIGURE OUT which part of the dog kept evaluating to non ansii characters,
and could not be ASSED to spend any more time figuring it out.
I'm a little embarassed by how long this took.