Add ajax support, fix template error, add ability to limit comparisons.