According to specs Storage interface emits storage event on global objects which it affects.
So in your case you may just add handler
window.addEventListener("storage", function () {
// do your checks to detect
// changes in "e1", "e2" & "e3" here
}, false);
There is no need for jQuery even.