Again, if you used left and top instead of x and y, you could just $.extend this bro.