Replace `.on('change'` → `.change(` to be consisten with code below.