mihai: js's and chart