Update ElementCreator.js