fixed issue 1320 (http://timelessrepo.com/json-isnt-a-javascript-subset), thanks Alan