Dygraph ReferenceClass and multi-layout demo