rename file in script tag