Code for nodecopter at jsconf 2013