js to get login box to fade out