Working on onding conversations - error with api.js