moved filter js