Updated to use better JS inheritance mechanism.
multipanel question