i appreciate your help.
You can't compile them, it's an interpreted language, not compiled one.
What you can do is get Chrome, press CTR SHIFT I and use the WebKit console for debugging and taking JS apart, setting breakpoints and checking how the whole thing gets executed.
If you do not have access to the script because of file-permissions, which should not be a problem because I believe for it to be executed it has to be read, anyway one can use Firefox firebug to take it apart or Google Chrome Developer tools, which I prefer. (To access them righlick and then select Inspect Element)
Hope that helped,