Test for texting. Added phone and typemgr as JS vars.