Updating removeClass and toggle functions for IE8