demo: use jquery in controller