This the JavaScript for News Homepage