Throw error with toggleClass

`.toggleClass` doesn't exist, throw error in dev