Added helper function, checkArrayAndExpandInPlace, that checks if the array is not null or not undefined and appends the parameter with the value. Reorganized functions.
Added helper function, checkArrayAndExpandInPlace, that checks if the array is not null or not undefined and appends the parameter with the value.
Reorganized functions.

robert-vo/class-browser-uh-web,robert-vo/class-browser-uh-web