added js contact validation