Added pushState to JS

Tidied up getNews.php