branch jquery con localstorage