Fix path to api.js