Google Script Api Sample Best Practices