initialize values + new chart-range-function
refactoring html (canvas width, merge spans)
Merge pull request #29 from SuperTux88/refactoring

Refactoring