Update serve.js

if port 5000 is free use it else use any free port