added atom.js (modified from rss.js)