remove unneeded script tag