[javascript-hint addon] Allow a custom global scope

Defaults to `window`