java script file for aggregate news