Removed an erroneous line in api.js