Browser event toString method

Trying to contribute by fixing an easy issue #257