Adding support to jshint checking and removing several unnecesary print lines