Adds a global node_modules object.

This is a temporary solution until global require is fixed.