Pure Javascript version of the Meteor accounts-entry package.