Incorrect Ajax Usage

var quote = ''; var author = '';
Waiting for response Data Received!

$.getJSON('http://api.forismatic.com/api/1.0/?method=getQuote&lang=en&format=jsonp&jsonp=?', function(data) {

quote = data.quoteText; author = data.quoteAuthor; console.log(quote, author); // now we have data :)
});
Quote = '' Author = ''

document.getElementById("quotearea").innerHTML=quote;

document.getElementById("authorarea").innerHTML=author;