Code style fixes
Code style fixes
Made plot table generation more JavaScript-idiomatic (I believe)