Used IEnumerable Extension to initialize the model
A little js changing