modified recipe.js