filter js handling done without nicechecks