Scroll scrollView to the bottom

Anyone tried to do some custom Javascript module in order to scroll scrollView component to the bottom, please? There’s plenty of javascript tutorials, however they all need a target. I have tried to target componentID (scrollView ID), however has no luck.

JS I have used:

function scrollWin() {
  window.scrollTo(0, 500);
}

We are trying to create a chat app and don’t have a time to wait for 3rd party plugin support release.

Thanks