PIM-1802 : move js filter declaration to filter bundle