Fixed missing 'event' parameter

There was an `event` parameter missing which made it impossible to click the `register` button in Firefox.