fixed tabs history with js
add alert timeout event to fade out after 5 seconds