js changes to make sure that the submit button listener is correct