No-Library (pure JS), HTML, CSS, JavaScript
Rewrite getOverlapArea to return correct overlap area in square pixels.