Began moving definitions into "ajax.js"