Improve event handling
Add more functions for managing elements.
Add ajax.
Merge pull request #2 from ZioCrocifisso/master

Improved elements and event handling, added AJAX.
Return nl instead of e

The nl selected wasn't being used - assumed it was for something.

Also, used map (and !-notation) instead of do-notation and idiom brackets.
Merge pull request #3 from LeifW/element_golf

Return nl instead of e
Update Event.idr
Merge pull request #4 from ak3n/patch-1

Update Event.idr
remove unreachable cases