Update local-history.js