testint swipe js