Added css/html to display graphs
Fixed conflict with javascript function name