Workaround for defineLazyProp for Safari
Sets right OS for mobile Safari
Merge pull request #562 from yurydelendik/safari-1

Attempt to make things work for Safari