#8 add globalpopups to main module 'twigs'. fix jshint