Update load-config.js

handle alternative configuration styles supported by RequireJS (e.g. "var require = function existingRequire(...) {...}; var requirejs = {...};")
Merge pull request #36 from emarschner/patch-1

Update load-config.js