Board Thread:Code Review/@comment-27958705-20170628172731

I've wrote something like mw:Extension:Popups. So i need help with... anything. What's wrong with code, how to improve it, what i missed etc. 