Switched instructions around for refreshing the browser