improved blockSource to accept specific classes on elements