added the code in html/js side for filtering... metadata needs to be
adjusted on the database.