Removed references to $.browser and replaced them with a useragent string check.