initial js cleanup
remove commented code
Merge pull request #1 from scottrblock/master

Clean up the js