bugfix with rrdlive JS