Rather than using the onchange attribute, attach to the change event via your js code itself
JavaScript DOM EventListener[
^]
That will allow you to attach multiple subscribers to the same event. Just make sure the element exists before your js runs, ie it is before it on the page.