Add encoded flag to processContent to account for us getting html entities in the javascript strings from notifications.  This prevents us from double encoding everything.  Should fix #948