fixed a refresh using cache bug on firefox version > 24