Remove dependencies on the unused polymer_elements

This fixes the dependencies, but the UI still crashes, because another unrelated pending fix is still missing (will check in soon).