cross-browser tweaks