AJAX cleanup

moved ticklist JS into separate file and refactored code to allow reuse
of JS.
Possibly not as tidy as it could be when passing rsvp_meta between
multiple functions.