public space.js file