commit index.hmtl and js