Tidying up files
hack to get js libs loading for specs
predicate specs
Event filter spec