Working rest service with backbone all in index.html