Put Google API before my script in index.html