[js] remove flash message on html request after 3 sec