AmbientJS is a Titanium library which allows for ambient-oriented programming in the cross-platform mobile development.