fix get_css_javascript handler