Js flash with timeout

implementing a timeout function for `JS: ActiveAdmin.flash`