Why theme scripts.js is not working, how to attach it
What you're trying to do is not valid jQuery code. You missed the .each part. 

So use $(context).find('.block-offer42-branding').each(function () {