remove scripts in subpage