Cleaned up javascripts and working on tag query for items formatting