Discard checking hasClass when removing cylon css class