remove dependency on $.Event