added affiliate filter to job index + js function to get request params