fixing up shelvesy.js