Added support for self executing function returning a value as an acceptable definition of a module.  This is to handle just old fashion js module definitions using modular design pattern