Merge pull request #15 from jvelasques/wip

As of jQuery 1.9, $.parseJSON throws an error on invalid input, instead ...