Added my test cases. All passed. Fixed typos that were notices in addLocation.php and addloc.js. Mentioned in test report.