contact form js, some cleanup