$('.qwerty:eq(0)')
.keyboard({
openOn : null,
stayOpen : true,
layout : 'qwerty'
})
.addTyping();
$('#passwd').click(function(){
var kb = $('.qwerty:eq(0)').getkeyboard();
// close the keyboard if the keyboard is visible and the button is clicked a second time
if ( kb.isOpen ) {kb.close();} else {
kb.reveal();}});