added suggested solution from EventedMind/iron-router/issues/1003