Hotfixes to make compatible with newer jQuery

$.browser and $.live functions were removed from jQuery