demo/web/logic.js
function getInput() {

    var account = document.getElementById('account').value; 
	var email = (document.getElementById('email') ? document.getElementById('email').value : ''); 
    var password = document.getElementById('password').value;
	
	return {account: account, email: email, password: password};	
}
function getInput() {

    var account = document.getElementById('account').value; 
	var email = (document.getElementById('email') ? document.getElementById('email').value : ''); 
    var password = document.getElementById('password').value;
	
	return {account: account, email: email, password: password};	
}
function getInput ( ) { var account = document . getElementById ( 'account' ) . value ; var email = ( document . getElementById ( 'email' ) ? document . getElementById ( 'email' ) . value : '' ) ; var password = document . getElementById ( 'password' ) . value ; return { account : account , email : email , password : password } ; }
retrieve account & password from HTML elements
retrieve account & password from HTML elements