Fix js dynamic protect