adding js directory