1. Add comments for miniPopup.js
2. Add jsdoc and clean npm task