Updated index and add JS files