removes unnecessary node modules