Fixed firefox rendering bugs, charts are now inside a dom element since it is really hard to get the width and hight in pixels of an svg dom node in a browser agnostic way. Also fixed path issue with piecharts for firefox, for some reason the path arguments has to be jouned with a space, not a comma.