myria-web.js: fix profiling JS after uwescience/myria#573

@jingjingwang changed the JSON format, but only Myria code was fixed.
Need to fix myria-web, myria-python, etc.