formatting the javascript a bit
Merge remote-tracking branch 'origin/master'