Replace strings comparison with regexp
Add CSS support