rewriting rtppacket to coffee script