Update json_ascoltatore.js

Catch the error raised when the JSON published from the client is not valid.