javascript for 'choose customer'