[google.js] added error checking
Added support for multiple commands per function w/ async callback