Removed jsForTheme function