Add target as it deprecated (set it via JS)