nit: I think const'ing objects like this is maybe frowned upon. I usually do

    var ScopeToMethod = {
      SCRIPT_TIMEOUT: ...,
      ...
    };

since the real consts are the keys.