Update wireframe.js to reduce garbage