create api to return possible badges and users; use jquery ui

@stepzhou javascript