Added Elm bindings for preventDefault and onDefault.