Get rid of singletone pattern in JSDoc API (#3)