change js for adjust fadeOut effect