Remove dash from window name to support IE

Internet Explorer threw an error when there was a '-' in the window name
parameter to a ``window.open`` call.