commonjs Promise Module for Titanium