Fixed json.js and added function with argument string.