Improve JS for changing projects dropdown
Compatible classes in model