js improvements

- pull the client ID from the hash
- use jquery to call the API so that we ca actually use a partial
response