Switch between webrtc and flash, use coffeescript

base: yours, head: mine