Adding dahuapp.viewer.js

done in Resources/io.dahuapp.editor.app, used by "preview" link in "view"
dropdown menu.