Updated index, added js to base, db