Fixed scaleFactor method not returning if data is invalid
Merge branch 'master' of https://github.com/alexhung/leapjs