Merge pull request #5 from basvandijk/update

Merge upstream master
Bump the version of ghcjs-dom to support newer version of text
purify ghcjs
Merge pull request #6 from cstrahan/ryghcjs

purify ghcjs
Update GHCJS