Make basic dynamic chart display with javascript

this closes #2