HTML Part:
this i
You can also use an express framework
app.get("/:id",function(req,res) { var id = req.params.id; res.render("home.ejs",{identity : id}); });
Express file, which receives a JS variable identity from node.js