Updated api.js to take out commented code
Updated api.js to take out commented code