Their documentation is either wrong or misleading:
Basic Javascript integration
We load the library onto the page asynchronously, which keeps your website loading quickly even if placed in the <head> of the page.
In our case just commenting out the library load solved all our issues.