changed form javascript to show text on submit