web js revert