Update load-config.js

handle alternative configuration styles supported by RequireJS (e.g. "var require = function existingRequire(...) {...}; var requirejs = {...};")