simplify require logic for coffee-script and cli.coffee

This is needed to make `npm dedupe` work with weinre