Revert "onsubmit test"

This reverts commit 9ad90330ce16f526fe5ece8834d171cefd88e452.