Perform replacements in all files, including reved ones

Also add .jshintrc file. Fix jshint issues