fixed shape.js (had deleted one line by mistake)