edit index, resource js files