Update: Adding events to browser environment (fixes #1559)

This adds missing events to the browser environment.