More cleanup.

_compile goes back on the route prototype
favor a && b vs a ? a : b
cleanup var usage.