Recipe Database frontend adjuting to require.js - [ADD FAVOURITE] REST provided