Updated to support jQuery >1.9.0

Doesn't worked with jQuery >1.9.0 because $.browser was removed from jQuery lib.