Revert "Fixes typos in core.js and css.js. Closes gh-1175"

This reverts commit 85ee87b4444e1322f3a5b1a033902b3f9764b1ef.