use the jsredirect for cancel