MAGIC!!

So... changing the dependency for Polymer fixed it. It all works as it
should now. Aparently the newest Polymer doesn't play nicely with adding
scripts to components when using javascript components.