Online Active Learning with Surrogate Loss Functions