adding js dir