Revert all javascript changes