updated recipes.js to retrieve realtime posts