Fixed JS problem with outdated status warning