Moved some code from the XBL navigator to the webpage object
move test about webpage.injectJs to initial-tests.js