BJ's nips loss in the bud with new tech