Updates jsbindings and localStorage.