Try to fix onchange which is throwing an undefined 'el' error.