updated design.js