fixes js that returns tags for an entry