 					ircBot.say ircChannel, "STREAM IS LIVE: http://mixlr.com/jeff-gerstmann/chat/"
 
 			when "comment:hearted"
-				a = JSON.parse (unescape m.data)
+				a = JSON.parse unescape m.data
 				# TODO make this pretty, show original comment and translate
 				# user_ids into names.
-				ircSay = irc.colors.wrap "light_magenta", "<3 "
-				ircSay += irc.colors.wrap "light_blue", a.user_ids + " "
-				ircSay += irc.colors.wrap "light_red", a.comment_id
-				ircBot.say ircChannel, ircSay
+				ircBot.say ircChannel, ircWrapHeart a
 
 	ws.on 'close', ->
 		console.log "WebSocket Closed"

	# Send HTTP POST
	sendHTTP httpHeader, ""

# Opens a websocket connection and receives data as long as the connection remains open
# TODO: add in the ping function (seems to be every 5 minutes)
openSock = () ->

					console.log "JSON.parse(unescape(m.data)) failed: #{err.message}"
				unless ignoreList[a.name]?
					try
						ircBot.say ircChannel, ircWrapMessage a
					catch err
						ircBot.say ircChannel, err.message
						console.log "ircBot.say failed: #{err.message}"
