Renumber BASIC Programs

This Script converts BASIC Programs without LineNumbers and with Labels (for GOTO/GOSUB) to a BASIC Compatible Program.
You enter you Program without Line Numbers. Incase of GOTO/GOSUB you enter it like:
GOTO <LABEL>

Then you have the <LABEL> Tag infront of a Line (where the Line Number would been):
<LABEL> PRINT "GOTO"

You can load an Example.bas or mastermind.bas with the Buttons below.
Upon pressing the 'Renumber' Button, it will be converted into a BASIC Program.

command-line version