Fix memory leak from jqplot (#7)

https://bitbucket.org/cleonello/jqplot/issue/330/memory-leak-on-all-browsers