implemented plugin as jQuery special event