abstracted news.js logic to service