ENYO-2038: remove dead code
ENYO-2038: move function from Deimos.js to DesignerPanels.js