fix rss output
refactor to pass jslint check