Danbooru.j_error(<%= @exception.message.to_json.html_safe %>);