updated jQuery to latest version
replace $.post with $.getJSON, allows better error handling