moved js for contact form into view partial