fixed safari compatibility
Merge pull request #2 from petebrooks/simplify_proj

fixed safari compatibility