remove the console log debug from the api js