ADDED: require JS and JSDoc to some parts of the code