Generic question/query generator for jQuery mobile