Support uglified filter code:
* no semicolon/curly bracket at the end of filter body
* do not drop curly brackets