Get booking ID when booking is placed

Great and yes you definitely can. You will want to do in in events.js so that when the event is fired, you grab it and use insert to insert a new record to your collection. No need to keep an additional function in jsw. Keep me posted!