fixed #582 - allow requiring node modules