reworking page javascript for /space/edit.
Updated /space/view to use revised js map components.