Move function declaration outside loop to stop HoundCI from complaining
Move function declaration outside loop to stop HoundCI from complaining

Declare a helper function after declaration of fabricObjs so it can push
elements into fabricObjs.

References Coursemology/coursemology.org#328

allenwq/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org