improved cross broswer compatability