more safari/webkit specific changes