Browser- and server-side require function. It acts on a JSON object like the nodejs require function on the file system.