changes to same-page-preview.js to change button New Window link value
The changes to the js file same-page-preview.js solve the problem described in the issue, they allow the user to view his changes in a new window, by updating the value of href inside the button New Window