I'm not a fan of onerror -> alert() ... Anyone creating something which triggers an error on a timer is going to create a bunch of dialogs and that's a bad approach.

I'm generally encouraging console.log( object-map )