Minor fixes

- JSHinted
- Print malformed response only once (untill it starts getting data again)
Merge pull request #2 from xPaw/patch-1

Minor fixes