JQuerified client.js
Things were called in the wrong order on page load.. fixed it.
Merge pull request #1 from hrafnkell/master

Jquerified