(PP-refactor) Fixed up some JSDoc + JS syntax