Javascript module that manages the window in titanium mobile.