updated chart examples with javascript output. Added js output to lava helper object too.