Fixes errors in case JavaScript/CSS are not loaded with js/css extension