Dont destroy dom nodes unless content has significantly changed. For simple device mode states, toggle the appropriate classes. Foscam get some special treatment in the parser since it doesnt like to rewrite the img src with the streaming video