Adding a test for "Javascript filtering example doesn't work" issue

Closes #44.