add controller to jQClass.

for widget wirte.