update custom layer to be compatible with version 3.11 of the JSAPI

finally figured out how to upgrade to version 3.11

working sample here
http://jgravois.github.io/esri-d3/mlb.html