set build option to -O1 for js xcode project when building with debug option