Refactored js code a little
Removed those pesky comments