fixing the index with gapi set in the web.js