tag edition for javascript