Added javascript to newstory.html