javascript pozivi i view model
merge