cleaned up JS
Merge pull request #20 from tganyan/cleanJS

cleaned up JS