Update designer.js

Clean up