Fixed server.js and cli.js using absolute or incorrect relative url