new joints
make the jointAttributes params optional in jsdoc