Fixes mmikowski/spa#1

See mmikowski/spa#1 for more details.

Verified running `nodeunit nodeunit_suite.js` in each public folder.