fix the sandboxed query collection method + jsSandbox update