pre-parse latlongs into js string in db.
crude output implemented. need to convert to ajax to avoid daft amounts of js in html