only remove the .js file in postpublish