How would you go about doing it?

It's an HTML5 game with obfuscated source. They use that thing by google that makes all of the variable names letters and stuff, and just generally makes it human-unreadable.

So how would you go about making bots or hacks for an HTML5 game?