missing bracket in imageeditor js