changed form php to js, form data submited shown on next page