add windowPanel.js file