Updating / removing unnecssary javascripts