fix potential XSS thanks to Connor Brewer; comment out console.log calls
Fix auto maximal value on graph y axis