Filter function developed

Developed the static filter options with coffeescript. Build it up so
the other one can easily work with the filter.