updates

fixed problems with js and object ids (need to make a dec)
fixed adding new locations
fixed deleting locations
displaying in table