jQuery 1.9 support

$.browser rewrited for the jquery-free code
$.live replaced with $.on