updated article.js so that #all method returns Article object, not JSON