fixed error throwing when used in client mode

I attempted to use jade to precompile templates to their javascript function source and then concat that source into my single site asset. Upon doing this I found a few bugs that were easy to fix. These are those fixes. 

I hope this is in line with where you are wanting to evolve jade =)