js.helpers: added functions for object creation