.jshintrc & code improvements