Check for existing classes client-side