removes unnecessary js includes