JavaScript validation of domains' and dns' inputs + minor amends.
Solution of conflicts in merging.