api.js traces removal