Prevent page refresh when adding a value. Optimize selectors.