Javascript plugin for expandable UI interfaces