It's still JavaScript, but how you design/write it is fundamentally different when you're writing for both the client and server.
On the client you wouldn't use `fs` module, but on the server you wouldn't use jQuery unless you were manipulating the dom through scraping with Cheerios.