Better debugging + JSLint fixes

* For Android, objects need to be stringified before logging
* Some `;` and `==` fixes
* Debug actual server response instead of parsed JSON