Fix passing Tags list to JS bug