Add ajax support, fix template error, add ability to limit comparisons.
Merge pull request #4 from dnadesign/master

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