call document function if provided overriding default styles
1.0.4