Creating javascript function to grab booking id value, preparing for future feature