added a function to color codes by property value
added a function to color links by property value
reorganized order of functions and variables in html file for cleanliness