jshint formatting and remove old comments