begin theming and js api creation