Changed api.js return value; likely to break all the things