Remove var top-scoping from erb templates