trying to read Json version of graph yvalues in JavaScript file
merged in Carolines changes