Add layerDefs to defaultLayerParams

This makes setting layerDefs in the options actually work.