Dude you're delusional. The web only succeeded because it was built on declarative tech, and JS is an the opposite of that.
Don't mix the WS-* trash with XPath/XSLT -- still the only standard data transformation technology. Last I check the JSON folks were still trying to reinvent XML schema? The JSON stack has nothing on XML in terms of maturity and features.