updating home page and js