added javascript for complaint form