Scrolling on an active number input changes the values by default. This can cause errors when the user intends to scroll the page instead.
This bit of JS uses only one event listener and will change the default behaviour for any number input with the "noscroll" class.