jslint
put getting/setting API on expandable inputs for better reusability; remove outdated todo comment