code: public void load(String file) {
  		Context context = factory.enterContext();
  		
  		try {
  			URL url = Thread.currentThread().getContextClassLoader().getResource(file);
  			
  			if (url == null) {
  				logger.debug("Configuration [" + file + "] does not exist");
  				return;
  			}
  			
  			File f = new File(url.getPath());
  			
  			if (f.exists()) {
  				logger.info("Loading configuration [" + file + "]");
  				context.evaluateReader(scope, new FileReader(f), file.substring(file.lastIndexOf("/") + 1), 1, null);
  			}
  			
  		} catch (Exception e) {
  			logger.error("Failed to load configuration [" + file + "]", e);
  			throw new UncheckedException(e);
  		} finally {
  			Context.exit();
  		}
  	}
docs: Loads the specified configuration file written in JavaScript.
  
  @param file Configuration file written in JavaScript.