Update designer.js

Paste errors