fix typo, which results in JS crash

data is undefined here, the correct name is viewHeir
correctly detect iPhone 5
Merge pull request #6 from FabianFrank/patch-1

fix typo, which results in JS crash