Now compiles with latest version of ghcjs-jquery etc, thanks to Luite Stegeman for this.
Merge pull request #1 from codecurve/master

Now compiles with latest version of ghcjs-jquery etc.