fix ios js related project compile error