object is string in es5.js.
Created wrapper functions for qwery calls instead of waiting for PB.ready..