fixes #4 - added try catch around JSON.parse
Merge pull request #6 from netz39/spaceapi-fix

fixes #4 - added try catch around JSON.parse