consistent style + jslint issues fixed
Merge pull request #3 from alexanderbeletsky/master

Minor changes