Initial commit with snippet to get replies in js