Allow different HTML5 backends
Merge pull request #1037 from jgranick/patch-1

Allow different HTML5 backends