title: What happens if I override window.scrollTo method?
body: <p>I am new to javascript programming, so please bear with me for a basic question :)
  If accidentally one of the open source javascript code modifies the native window.scrollTo() method, how can I ensure that when calling scrollTo for a HTML element, it will always work, and not raise an JS error instead?</p>