Externalized some class stuff in `jsduck.js`