add JavaScript directory