Updated URLUtil for Firfox