Use .text instead of .append in setTitle, to prevent rendering title as html