Added pathname capture to server.js