Update lib/opentip.js

Added "return" statement to Joint function