JavaScript pixel-perfect plugin