Update create.js

typo
Merge pull request #133 from gh-naylor/patch-1

Update create.js
Add support for promises.