jshint code, remove debugging