Fix tags code to use new return format
Use JS plugin system to register favorites app