making it re-render debug efficiently (my if was still off by one), and using jquery 1.9 which fixes the offset discrepancy