reverting js fixes