Added `getCount()` and `require()` methods
removed odd foo.js