Removed some old icons and made some JS checks stricter.