Added element-type styles, javascript to color elements, and fixed bug in JSON.