you have a native .filter method.. that's basically what you want here.