check existence of "path" for browser execution
Merge pull request #3043 from imcotton/reference-check

check existence of "path" for browser execution