Little refactoring
Refactoring in windowsBox.js. Extend launch support