JShint config and fixes