fix the file joins js