Optimizing contact form, adding effect on hashchange, solving id issues