Update to 2.0.0 started
Replace query with querySelector
Harden error response handling