use the jsEdit generic code for the bitcoin input
use the jsEdit generic code for the username input
fix tests