modified headlines.js