Updated for Ti3.2 with new JavaScript 1.7 tests