JSDoc and Plato Complexity report fixed up