Fixed config.json and client.js issues

- Moved config.json to config.json.sample so it doesn't always collide with the repo version.
- Moved host and port to variables in client.js until I can figure out what to do with them.