refactored trackList.js. can output and load json strings