Reset rootURI, baseURI in cfx-built add-on, fix nativewindow.js for nightly.

Commit 5fd12b3 fixed #4.