fix recipe.js for addrecipe route