Update includeJsTheme function