Fixing up html5 provider