Make the upgrade order of CustomElements polyfill top down instead of bottom up.

Fixes #85