Modify HTML5 shims so they are handled by htmlDependency

This adds conditional JS code so that the shim code isn't actually run
in browsers other than IE 8.
Add meta viewport tag