Fix logstasher missing const errors

I think this block was copy/pasted from content-api, but content-api does a `Bundler.require` which this app doesn't.