change javascript to enable/disable the submit button