jshint fixes, consistency add-ons
Merge pull request #5 from voronianski/jshint-fixes

jshint fixes, code consistency add-ons