contact page sends email with two posts instead of JS