Fix bug with asset pipeline.

Check path filters before appendind button content to request body.
Merge pull request #28 from hck/master

Fix bug with asset pipeline.