correctly added headers for getJSON request
added strongly suggested callback style