A trivial Haskell API into HTML5