Finally I've ended up using IntelliJ IDEA. It is commercial (there is 30 day trial) but unbeatable feature-wise. Code analysis, semantic coloring, refactoring which works across various source files (like js, css, html). Just try it and you would never look back.
P.S. I'm not affiliated with JetBrains in any way, it's just my personal view.