>>207
func = func.replace(
"this.mTabs[i].boxObject.width / 2",
"this.mTabs[i].boxObject.width"
);

多分ここ削除すればなるんじゃない想像だけど