For some reason passing event breaks on chrome