fix Uncaught TypeError: Cannot call method 'removeClass' of null