Added validation on map.php

Not working yet
also added validation plugin js scripts