Update Control.js

Bugfix for an error we sometimes see when trying to use the editor in Tribiq CMS.