api.js commit