Added bower_components to gitignore
Added json hint with space 4 and made src to conform with it
Added single quotes to jshint
Added more stuff to jshintrc and fixed grunt jshint
Moved functions into top scope
Removed $ in jshintrc