Fix #14432: Always return string from .css("z-index"). Close gh-1395.
No ticket: Small curCSS size optimizations
No ticket: Test cleanup