Updated test for IE6

for compatibility with jQuery 1.9+ as $.browser has been removed http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed