extract qunit runner generater to core