popup: Check jsdoc

Close #834