test swipe js