add index and js folder