adding functionality to page for calling methods on handler object in backend