Move unique filter to a separate file, fix jshint issues