I do a lot of HTML generation just with JavaScript and am finding myself creating `index.html` files that have code that looks like this:

     <!DOCTYPE html><html><head><script src="index.js"></script></head><body></body></html>

It would be nice to be able to do:

     browserWindow.loadHTML('<!DOCTYPE html><html><head><script src="index.js"></script></head><body></body></html>');

It would be even more awesome to do:

     browserWindow.loadScript(pathToScript);

I tried to use the `preload` option for `BrowserWindow` and using `loadURL('about:blank')`, but this has an unintended side effect of not allowing you to reference other script or CSS files using relative paths.

What do you think about proposed feature?
atom/browser/api/atom_api_web_contents.cc
}
  content::NavigationController::LoadURLParams params(url);
  GURL http_referrer;
  if (options.Get("httpReferrer", &http_referrer))
    params.referrer = content::Referrer(http_referrer.GetAsReferrer(),
                                        blink::WebReferrerPolicyDefault);
  std::string user_agent;
  if (options.Get("userAgent", &user_agent))
    web_contents()->SetUserAgentOverride(user_agent);
  std::string extra_headers;
  if (options.Get("extraHeaders", &extra_headers))
    params.extra_headers = extra_headers;
  scoped_refptr<content::ResourceRequestBodyImpl> body;
  if (options.Get("postData", &body)) {
    params.post_data = body;
    params.load_type = content::NavigationController::LOAD_TYPE_HTTP_POST;
  }
  params.transition_type = ui::PAGE_TRANSITION_TYPED;
  params.should_clear_history_list = true;
  params.override_user_agent = content::NavigationController::UA_OVERRIDE_TRUE;
  if (deferred_load_url_.id) {
    deferred_load_url_.params = params;
    return;
  }
  web_contents()->GetController().LoadURLWithParams(params);
  
  
  SetBackgroundColor(web_contents());
}
void WebContents::DownloadURL(const GURL& url) {