fixed addStyle in browser