pass data to javascript method
vis version 1 all good, but need to make 2D scatterplot now
merge fix