commonjs Platform Detection Module for Titanium