Add index and js files