endring i index.js