replaced path for parts changed by javascript