compatibility with webkit