[FIXED JENKINS-22674] Use JS to resize graph.

This will make the load statistics graphs fit the window width if JS is enabled. Also changes the graph height in that case. Requires <700 px useable height to fully show without scrolling.

WXGA window size (accounting for 22px menu bar):
![screen shot 2014-04-18 at 14 03 35](https://cloud.githubusercontent.com/assets/1831569/2741679/85de9824-c6f1-11e3-9afd-5c1e0666d715.png)