Optimizes refreshing on Chrome.