Fixed minor issue in currentAPI.js