fixes incompatibility with jQuery 1.9

jQuery 1.9 no longer supports .browser