Update designer.js

Fixing the event name