Migrate to dygraph charting library.

It's that 'flot' library has very buggy implementation of panning and zooming. Also because of
dygraph has no dependencies on jquery we move our scripts from iframe to main page.