Add option to enable JavaScript in pages loaded by popupviewer.
Add option to enable JavaScript in pages loaded by popupviewer.