simplify require logic for coffee-script and cli.coffee