polymer updated to v0.3.0 + small refactoring