For some reason, jQuery 1.9.1's removeClass() function doesn't work when no parameters are given (though it does on other sites), so I've added a workaround for that.