update to js directory