Removed config dependency in ajax.coffee