update js loader