jshint fixes for mw.ConfirmCloseWindow.js

Bug: 47161
Change-Id: If3023606e187afd3ac49739de7545f4fd3ba60f4
Merge "jshint fixes for mw.ConfirmCloseWindow.js"