Self-contained Node.js scripts.

cc @davidbruant