moved embedFeedback to js