reverted JavaScript line