drastic simplification
added index.js