remove document state check when adding styles tag, we considered it safe (is it?)