updated jshint config and fixed a few findings