separate server for each js directory