Did a small test (so I created a testfile too). User & dataset filters are chained in this test. Note that this is a test, code can be ugly.
Also used a tiny amount of jquery, it's much more compact so I'll start switching the code to jquery later.