Remove report-xul.js window listener

Since report-xul will be shared among multiple report
xul windows, move the window event listeners to
separate js files.