edited index and js
changes a little