firefox/jquery fixes