fix safari build issue
fix typo
Merge pull request #207 from michaeljb/fix-safari

Fix Safari build issue
Merge branch 'beta' into grunt