Fixed ajax not refreshing timer issue