correct promises in rss.js file