Add jquery.
Remove libmv dependency, copying their 5-point algo.