js hook for theming