Added AMD support; requires jQuery now. remove json2