PLD: js to replace form name and test