JS API documentation.

- JS methods documentation
- late warning about a possible `scrollDelay` value set to `0`