Various fixes for different browsers.