jQuery plugin to support ui testing