Added fix for multiple charts on one page. Jsapi and lava js core now only outputs once. Fixes issue #10