Making Filter in javascript 
also make filter in Controller
(to protect direct approach to the java source)