stpls css and js bugfix related to compatibility with require_css and require_js