I have the same issue and just figured out how to debug it : This particular line is made to get the number of the mouth layer (get the string between the index of the last " " character and the overall number of characters) and it looks like AE doesn't use this anymore.
Here is the proper way to write it :
thisShape = parseInt(name.substr(name.length-1, name.length));
Change it in every opacity expression that have the problem
With the Link Mouth to Shape Volume button activated it should work fine !
EDIT :
Be careful of not deleting the "if" statement at the end of this line for the mouth closed !