Firefox 10 Fixes

Looks like the server response wasn't `application/json` so we need to explicitly say it is json. Fixes the issue some users were having in 2 year old firefox 10.