Create memorize.js