since the file is already using jQuery, why not switch this to something like
``` $("#attrs").html(JSON.stringify(data || {})); ``` ?