Fixed bug where app crashed in non-Chrome browsers due to missing event argument.