rewrote js to pull locations from html list and build json on the fly