make sure the pathname always exists
clarifying js syntax
Merge branch 'master' of github.com:urbanairship/drive.js into with-browserify
clarifying syntax