Bugfix for Collection binding

1) If model is "true" we did not bind collection, so need to use "if" instead of "else if".
2) collection is object and we can't use ".each" on it. So need to use "collection.models" instead of "collection".