working on main and tweet js