add fade[In|Out] javascript effect