Get rid of singletone pattern in JSDoc API