Shimming for require-js driven polymer elements