Added JS docs, AJAX method changes