Test regex result before accessing by index If the content attribute of the selected tag is empty or malformed, then /app-id=([^\s,]+)/.exec(meta.attr('content')) is going to return null and trying to index into null is a bad time.
Test regex result before accessing by index
If the content attribute of the selected tag is empty or malformed, then
/app-id=([^\s,]+)/.exec(meta.attr('content')) is going to return null and
trying to index into null is a bad time.

ratibus/jquery.smartbanner,tes/jquery.smartbanner,jasny/jquery.smartbanner,walmartlabs/jquery.smartbanner,dchem/jquery.smartbanner,jasny/jquery.smartbanner,burgosa/jquery.smartbanner,burgosa/jquery.smartbanner,walmartlabs/jquery.smartbanner,idflood/jquery.smartbanner,dchem/jquery.smartbanner,ratibus/jquery.smartbanner,tes/jquery.smartbanner,idflood/jquery.smartbanner