Fork from bitbucket.org/cleonello/jqplot