Changing functions.js to main.js to match google's example structure.