Create andThen.js