adding js components