update default_j25.php: js error

Installation got stuck at first step due to this small js error. Removed the lines which are also missing in the default.php file.
These lines are meant to prevent user breaking the installation by closing the popup.

What is the error they are causing?