Read measurementReady off the window object in case it hasn't been defined yet
Merge pull request #85 from alancutter/readReadyOffWindow

Read measurementReady off the window object