Added onChangeUp callback and JS for responsiveness