added published date to output of api.js