Export to JS some window settings