Prepare for ajax call to /events/register