Moved to on change, prevented the form from reloading the page