have a look to thread_list_mockup.js, you can maybe reuse a thread from there ?