support ios dynamic set main.js