successful flot.js implementation. Still work to do