Add createElement to index.js