updates javascript for form page
Merge pull request #60 from KevinFXue/jUpdLocStrgOnDel

updates javascript for form page