HTMLElement is always a function

https://github.com/desandro/masonry/issues/524