more tweaks to space.js