xcode compile - copy js resources