added interactivity with javascript/coffee script. added tests for the interactive ui.