The only reason to use .js on the serverside is that you don't know better.
However - there are lots of reasons to use javascript on the server even if we accept there are superior languages.
The only reason to use .js on the serverside is that you don't know better.