refactoring
refactoring + js effect homePage