jQuery plugin for monitoring an url and trigger an event