Closing a Chrome window #JavaScript