Js/working on datamodel