Correct call to loadScript in browser require
Check for .json extension on location, not id

in JsonCompiler.

Because the id will have the .json extension even in the
browser's script loader environment, where the .json.load.js
has been loaded instead.