just fix your failJSON (leading two spaces, no } at the end) and everything will be just fine ;)