Adds properties for getting a pathname in EnvJS