Fix #781, a little timing gremlin and add some JSDoc for the source plugin too