Fix standalone version.
Automatically rewritten for npm.