Adds onchange callback
Add `onchange` callback, related to #47
Add minified version