Fix up some stuff for Chrome.