Update new-window.js

Description and how to use the function added as comments.