Updated build to work with latest bower version
Making sure empty todos are handled