refactoring landing page and layout page html css and js