Partial fix for the js request filter
A variable name was copy pasted to much, this caused the request type to be compared to the request status.
Although the original problem in #90 (closed) can't be fixed by this. The filter could only be more restrictive than needed, not more liberal.