js clean up

Signed-off-by: Randell Quitain <cprjk.buzz@gmail.com>
Merge branch 'master' into gh-pages