Move the CGSGPickNodeMethod class on glbal.js file.
Use of "cgsgRegionIsInRegion" in detectSelection.
Update API