fix jslint and remove commented line of code