fix js dynamic