google api moved to main.js