moved inline javascript to articles.js
Merge pull request #64 from Rleahy22/javascript_refactor

moved inline javascript to articles.js