Replacing jQuery method to remove class
Removing extraneous curly brackets