Created javascript builder for settings.