Add map helper to create.js