An attempt to create an easy way to define compile time js filters and functions (does not work)