Added theme_js function