how to make browser referesh during each JS code example Example: refresh window js window.location.reload();