• fixed a.measure is not a function js error