Query can now be javascript code
Updated to latest Google APIs