expose application settings to JS