Cross browsers compatibility improvement