use match rather that contains
update globi-dist.js