Cross browse bug fixes