Use jQuery to retrieve event data