got modified space.js file to work, so it complies with the prototype.js framework, along with the other main file addition which I couldn't remember well why they're there in the first place...