Implementation of html5 google shim