use $.ajax instead of $.getJson and added comments.

$.ajax is helps consistency while learning.
Merge pull request #2 from adamrt/master

use $.ajax instead of $.getJson and added comments.