Inline loads; make CommonJS-compatible; add HTML test.