use existing require if available
Merge pull request #2 from ractivejs/require

Use existing require if available