Fixed JavaScript error for banner timer. (IssueID: #1171)