fixed javascript charts