It worked for me. You need to refresh the first page of the bundle after enabling the script.
Did you modify the script or the window.history.back(); worked for you?