Addresses issue where sometimes we don't get onContentReady call

I believe this fixes the issue you were seeing
We were getting a javascript exception since the method measurePositions was not
necessarily defined yet when the resize came in (I saw a few cases of this)

Change-Id: I35980e9449fb18c1da018c537af2b6d56f392818
1 file changed