updated for IE fix, The dash was throwing an error in IE 8 in the new window name