Update Controller.js for use with LayerControl widget.