Quick play around at structuring scripts for web apps using require and minpubsub