Platform conditional utility for cross-platform Titanium apps