More work on graphing js with AJAX, made copy for calvin