Recipes frontend adjusting to require.js -  Add to Diary function works