separated javascript from contact form