[CDE-328]: fixed bug where only the first expand parameter was updated on click event
[CDE-328]: removed ambiguous cycle from code
[CDE-328] Applied to require-js
  - fixed bug where only the first expand parameter was updated on click event
  - removed ambiguous cycle from code