Update index.js

If top level, should return with an exclamation as well.