This page makes \cancel, \bcancel, \xcancel, and \cancelto all be defined so that they will load the cancel.js extension when first used.
\cancel
\bcancel
\xcancel
\cancelto
cancel.js
Here is the first usage: x+1. It will cause the cancel package to be loaded automatically.