update js format