Adding jsDoc comments
Little bit of spring cleaning