extended to show registering click event handlers per page
modified by update to R22 tools