Fix js error. Needed to rename variable.