removes the replacement of . for browse command

As it stands now, this replacement breaks browse for branches like `fix-glob-for.js` where it changes the path of the URL to `fix-glob-for/js` which is incorrect.

This is my first `go` code contribution so I expect feedback and suggestions.

Also, though I added a supporting test, I was unable to validate it since I'm still figuring out how to set all of this up. Was hoping travis would give me a hint and I could go from there.