Revert "Issue #1621014 by David_Rothstein: Contextual links and other JavaScript don't work after cancel" This reverts commit ed2063d4.