more js code cleaning & adjustments: spacing, indents & missing semicolon
Merge pull request #26 from kordero/js_cleaning

more js cleaning & adjustments: spacing, indents & missing semicolons