js cleanup
Merge pull request #1 from tdebarochez/patch-1

js cleanup