minor style changes
Merge pull request #1 from juandebravo/task/minor-js-changes

Thanks !