It seems the order in bower.json of the four files in main is backwards. When I reverse it, all seems to be fine.