A little bit better: 

```go
path.Join(revel.BasePath , "public", "js", "sessvars.js") 
```