a javascript auto test frame