Now compiles with latest version of ghcjs-jquery etc.

Thanks to Luite Stegeman for this.