Including script output (javascript and PHP) in form submit