set artifact file for js type only