Update designer.js

Clean up
Merge pull request #2 from rmello4d/patch-2

Update designer.js