Caller webpage setup with event handlers ready to be filled in