Ooops, forgot two lines to help fix #14.
Added JsDoc comments.
Added 'bare" layer type.  Can't use yet.
I will need this to test bug#21.