Create fold.js