js/site.js
// an array of the different tags used 
an array of the different tags used
an array of the different tags used
function existingTagsList(data) {
	var existingTags = []
	data.forEach(function getTagArray(row) {
		if (row.tags === "") return
		row.tags.forEach(function parseTags(tag) {
			var tagString = tag["tag"]
      if (existingTags.length === 0) existingTags.push(tagString)
      if (existingTags.indexOf(tagString) > -1) return
      existingTags.push(tagString)
    })
  })
  return existingTags
}
function existingTagsList ( data ) { var existingTags = [ ] data . forEach ( function getTagArray ( row ) { if ( row . tags === "" ) return row . tags . forEach ( function parseTags ( tag ) { var tagString = tag [ "tag" ] if ( existingTags . length === 0 ) existingTags . push ( tagString ) if ( existingTags . indexOf ( tagString ) > - 1 ) return existingTags . push ( tagString ) } ) } ) return existingTags }
an array of the different tags used
an array of the different tags used