fixed bug with .d.ts file caching, added credit in README