fix running in --use-strict mode. closes #189