Encapsulating everything in the global function
Usage of L.DomUtil to create poup

Using L.DomUtil to create popup dom element,. More clear and maintenable
way.