fix typos and restore extractCSS.js