added .jshintrc + applied few more fixes
simplified .jshintrc a bit