make metabox filterable
minor changes to javascript