mod js directory