updated index and webjs