html5 boilerplate
Plotting frontend
dont break on empty series
set max date on datepicker
use previous data to compute ma
fixed datepicker max
improved plot visually