Update loadJSON.js

please verify inline comments, marked with `[ag]` prefix