Use immutable js