added javascipt delayed redirect on message page