Top-level object detector for Node.js, Titanium, Titanium + Alloy, browsers