Moved inactive modules
Added build directive to insert code to get global object in any environment