This is not a new idea. In fact its so old to have been in fashion then gone out and is now coming back again.
Clasic ASP on windows server IIS can use javascript as the server side scripting language. it can talk to local filesystem and SQL sever etc. very very simple stuff.
You could easily write some ASP code that returns JSON to be consumed by your client side script ajax.
The problem is that MS have ignored classic asp and moved to asp.net (c# or VB.net) so we have to wait for the community to re-invent server side javascript to get back to where we where in 2001.