Easy API for notifying user of activity in inactive browser window