changed linechart to flot