removed obsolete stuff from index.js