Update lib/opentip.js

Added "return" to Joint function