Created web form, template Javascript text parsing function