Atlassian to buy Loom for nearly $1B