JS auto reload times fix