Does it Just Work™ if you make this a wrapper for the fully-populated `<table class="projects">...</table>`? I expect the table would immediately be replaced by a new shuffled, filtered table, much like it is now.