get rid of extra script tag