changes api fix, loadJSON fix and comments