fixed js form validation, map overlay edit bug