Use application.loadURL instead of document.location.href. Possible
memory leak fix.