Instead of add onReady, load on submit function.