add defs for kinectjs