added isTouchDevice() method to ttnUtility