The structure of contents changed, now the contents are in contents['text'] instead of contents difff: --- contents = contents['text'] || ""; +++ if (contents == undefined) +++ contents = ""; +++ else +++ contents = contents['text'] || "";