Fix missing 'location' variable when running under node (not browser).
Add test cases; improve node packaging; package for volo.