Uses require instead of JSON.parse(fs.readFile... to be browser friendly