Update loadConfig.js

Modified the .ajax in .getJSON