[bug] Adds port definition to server.js

Fixes issue #39