change script tag to adjust to internal page js