Fixed IE8 error with isMatchingSize method and hopefully made it easier to read.