Feature/code cleanup

Merged "Fix API mispelling" in directly, small change
* Adding jshintrc file
* Cleaning up code to match jshint standards
* Removing some unused declarations (specifically $.fn.hbh