adapt password confirmation js to bootstrap 3 form-group