Dry

Use JSON to pass the ruby data to the html, making the data DRY.