I\'d like to scroll to a particular element on an event (onEmitKennlinie()), but it doesnt\'t work. Why is the result (var element) of "document.getElementById()"