cleaning up map for jshint
cleaning up jshint errors