adding check for NATIVE object before using it
Merge pull request #10 from gameclosure/fix-serve-mobile-safari

adding check for NATIVE object before using it.  LGTM @chris-gc