JS drop-in for emailauth