switched to DS.RESTAdapter and added jquery min map for debugging
added else to each loop