Add Haml CoffeeScript filter compatibility

* Ignore pathname if it's not available
  from the scope in which evaluation
  takes place

This relates to issue #4. I'm not sure why this patch didn't work for @jkchow, but it's working well for me.