update js dir