[#1082] jQuery.browser was removed in 1.9
[#1082] jQuery.ajax.error deprecatedin favour of .fail in jQuery 1.8
[#1082] Fix for undefined variable within mocha tests
[#1082] Fix for jQuery.contains as params should be dom elements and not jQuery collections