removing scripts from index