Revert javascript tests